<template>
  <div class="login">
    <div class="loginBg">
      <img src="../../images/loginBg.png" alt="">
    </div>
    <div class="inputBox">
      <div class="userPassword userInput">
        <i class="iconfont icon-shenfenzheng3"></i>
        <input type="text" :placeholder="placeholderText" v-model="userName">
      </div>
      <div class="userName userInput">
        <i class="iconfont icon-icon-test"></i>
        <input type="text" placeholder="学员手机号或教师密码" v-model="userPass">
      </div>
    </div>
    <div class="loginBtnBox">
      <div @click="goHello" class="loginBtn">学&nbsp;&nbsp;&nbsp;&nbsp;员&nbsp;&nbsp;&nbsp;&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录</div>
      <div @click="goHello2" class="loginBtn">教&nbsp;&nbsp;&nbsp;&nbsp;师&nbsp;&nbsp;&nbsp;&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录</div>
      <!--<div @click="goBack" class="backBtn">返&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;回</div>-->
      <router-link to="/regist"><div class="register">学员注册</div></router-link>
    </div>
  </div>
</template>

<style lang="scss" src='./login.scss'></style>
<script src="./login.js"></script>
